package code.untils
{
	import code.main.AppData;

	public class SystemConst
	{
		/**
		 * 判断是否是同一天
		 * @param value
		 * @return 
		 * 
		 */		
		public static function isSameDay(value:Number):Boolean
		{
			var _date:Date = new Date(value*1000);
			var web:Date = new Date(Number(AppData.currentTime));
			return _date.fullYear == web.fullYear && _date.month==_date.month && _date.date == web.date;
		}
		
		public function SystemConst()
		{
			
		}
	}
}